package com.lw.ai.service;

import com.lw.ai.model.Book;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface BookService {
    //处理的是业务
    Map<String, Book> findBook();
    Book findBookById(String id);
    Book addBook(Book book);
    Book updateBook(Book book);
    Book deleteBook(String  id);
}
